#!/usr/bin/python
n = 13195
i = 2

for i in range(i,int(n**.5)):
	print i
	n = n / i
